package com.song.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.song.commonutils.ResultObj;
import com.song.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.song.eduservice.entity.vo.EduTeacherVo;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author song
 * @since 2020-03-27
 */
public interface EduTeacherService extends IService<EduTeacher> {
    /**
     * 分页查询讲师
     * @param eduTeacherVo
     * @param current
     * @param limit
     * @return
     */
    ResultObj pageTeacherCondition(EduTeacherVo eduTeacherVo, long current, long limit);

    /**
     * 前台分页查询讲师
     * @param page
     * @return
     */
    Map<String, Object> getTeacherFront(Page<EduTeacher> page);

}
